package com.wutong.erb.controller.page;

import com.wutong.erb.entity.user.User;
import com.wutong.erb.mapper.UserMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 认证页面控制器
 *
 * @author wutong
 */
@Controller
@RequestMapping("/page/auth")
@RequiredArgsConstructor
public class AuthPageController {

    private final UserMapper userMapper;

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/register")
    public String register() {
        return "register";
    }

    @RequestMapping("/privacy-policy")
    public String privacyPolicy() {
        return "privacy-policy";
    }

    @RequestMapping("/user-agreement")
    public String userAgreement() {
        return "user-agreement";
    }
}
